package com.yz.center.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @className: StaffController
 * @author: Yz
 * @date: 2024/1/23 21:30
 * @version: 1.0
 */
@RestController
@Api(tags = "员工信息")
@RequestMapping("/staff")
public class StaffController {

    @GetMapping("/get")
    @ApiOperation("根据id查询员工信息")
    public int getStaff() {
        return 1;
    }
}
